package b3.widget.match
{
	import b3.config.*;
	import b3.model.*;
	import b3.net.*;
	import b3.scene.*;
	import b3.scene.build.*;
	import b3.util.*;
	import b3.widget.*;
	import b3.widget.basic.*;
	import b3.widget.tab.*;
	
	import flash.display.*;
	import flash.events.*;
	import flash.filters.*;
	import flash.text.*;
	
	public class MatchDialog extends TabController
	{
		public function MatchDialog()
		{
			var MatchDialogBgr:Class = ResourceHelper.getInstance().getClassByName("MatchDialogBgr");
			var TabTitleBackground:Class = ResourceHelper.getInstance().getClassByName("MatchTitileBgr");
			var HighlightTitleBgr:Class = ResourceHelper.getInstance().getClassByName("MatchTitileBgr2");
			var CloseButton:Class = ResourceHelper.getInstance().getClassByName("CloseButton1");
			super(MatchDialogBgr, CloseButton);
			this.anchor = BasicWidget.ANCHOR_MIDDLE_MIDDLE;
			var tab:MatchTab = new MatchTab(0);
			this.addTab(TabTitleBackground, tab.tabName, tab, HighlightTitleBgr);
			tab = new MatchTab(1);
			this.addTab(TabTitleBackground, tab.tabName, tab, HighlightTitleBgr);
			tab = new MatchTab(2);
			this.addTab(TabTitleBackground, tab.tabName, tab, HighlightTitleBgr);
			tab = new MatchTab(3);
			this.addTab(TabTitleBackground, tab.tabName, tab, HighlightTitleBgr);
			this.setTabTitlePos(57, -22, 79); 
			this.setTabPagePos(37, 70);
			this.setCloseButtonPos(231, 392);
		}
		
	}
}